// 
// File:   point.h
// Author: derrall
//
// Created on September 11, 2008, 9:29 PM
//

#ifndef _POINT_H
#define	_POINT_H

class Point 
{
    
private:
    
       float x;
       float y;             //even though the points are currently integers, in
    
       
public:
        //the future we’ll need floating point numbers
       //possible functions you may need for Program 1
       Point & operator + ();          //p1 + p2 = (x1+x2, y1+y2)
       operator – ();           //p1 – p2 = (x1-x2, y1-y2)
       bool operator < (Point p1, Point p2); //p1 < p2 if (y1 < y2)
               //in our scan conversion routine we often need to know if one point
                            //   is vertically below another
       
       Point& Array::operator[] (unsigned i)  // Some people don't like this syntax
       {
   
       } 
}



#endif	/* _POINT_H */

